import React from 'react';
import { Provider } from 'mobx-react';
import { Route } from 'react-router';
import View from './components/View';
import Setting from './components/Setting';
import { WeaLocaleProvider } from 'ecCom';
import style from './components/style'
const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'crm');
module.exports = {
    Route: (
        <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@4dzaxq`} path="demo" component={props => props.children} onEnter={getLocaleLabel}>
            <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@hkba2b`} path="view" component={View} />
            <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@lvehk9`} path="setting" component={Setting} />
        </Route>
    ),
    com: {
        View,
        Setting,
    },
    titles: {
        'View': '门户自定义开发示例元素',
        'Setting': '门户自定义开发示例元素设置',
    }
};